home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-19
/
intrlib1.zip
/
MAKEFILE.TC
< prev
next >
Wrap
Text File
|
1992-02-24
|
2KB
|
102 lines
#
# This is the make file for the intr_lib - interaction library.
# In order to run it t/bcc is assumed to be available, in addition to
# tlib and obviously borland make.
#
# Gershon Elber, Nov 1990
#
# Works only on TC++ 1.0 make and up - swap out make before invoking command.
.SWAP
# Your C compiler and linker
CC = bcc
LNK = tlink
# Where all the include files are:
INC = -I. -Ic:\bc\myinclude
#
# CC non debug flags
#
# flags for BC++ 2.0
# CFLAGS = -ml -a- -ff -G -O -r -c -d -w -v- -y- -N- -k-
# LFLAGS = /x/c
#
# flags for BC++ 3.0
CFLAGS = -ml -a- -f -G- -O1 -r -c -d -w -v- -y- -N- -k-
LFLAGS = /x/c
#
# CC debug flags
#
# CFLAGS = -ml -c -a- -f -d -w -v -y -k -N
# LFLAGS = /v/c
#
# Libs to link with
#
LIBS = c:\bc\lib\graphics.lib c:\bc\lib\emu.lib \
c:\bc\lib\mathl.lib c:\bc\lib\cl.lib
#
# Where library and Header files should go to.
#
LDEST = c:\bc\mylib
HDEST = c:\bc\myinclud
OBJS = cursor.obj ems.obj input.obj intr_gen.obj intr_bgi.obj \
messages.obj mousedrv.obj pd_menus.obj pu_menus.obj \
pu_query.obj saveimag.obj slct_clr.obj textwndw.obj window.obj
# Show me better way if you know one to prepare this line for TLIB:
POBJS = +cursor.obj +ems.obj +input.obj +intr_gen.obj +intr_bgi.obj \
+messages.obj +mousedrv.obj +pd_menus.obj +pu_menus.obj \
+pu_query.obj +saveimag.obj +slct_clr.obj +textwndw.obj +window.obj
# The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
# choke on them (the { } signals batch mode that combines few operation at the
# same time - very nice feature!).
.c.obj:
$(CC) $(INC) $(CFLAGS) {$< }
intr_lib.lib: $(OBJS)
del intr_lib.lib
tlib intr_lib.lib @&&!
$(POBJS), intr_lib.lst
!
install: intr_lib.lib
copy intr_lib.lib $(LDEST)
copy intr_gr.h $(HDEST)
copy intr_lib.h $(HDEST)
intrtest.exe: $(OBJS) intrtest.obj
$(LNK) @&&!
c:\bc\lib\c0l+
$(OBJS) intrtest.obj
intrtest.exe
intrtest.map
$(LIBS)
!$(LFLAGS)
cursor.c: intr_loc.h intr_gr.h
input.c: intr_loc.h intr_gr.h
intr_gen.c: intr_loc.h intr_gr.h
intr_bgi.c: intr_loc.h intr_gr.h
messages.c: intr_loc.h intr_gr.h
mousedrv.c: mousedrv.h
pd_menus.c: intr_loc.h intr_gr.h
pu_menus.c: intr_loc.h intr_gr.h
pu_query.c: intr_loc.h intr_gr.h
saveimag.c: intr_loc.h intr_gr.h
slct_clr.c: intr_loc.h intr_gr.h
textwndw.c: intr_loc.h intr_gr.h
window.c: intr_loc.h intr_gr.h
intrtest.c: intr_lib.h intr_gr.h